package com.qdc.datacenters;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;

@EnableMethodSecurity
@ComponentScan("com.qdc.datacenters.**")
@MapperScan("com.qdc.datacenters.**.mapper")
@ForestScan(basePackages = "com.qdc.datacenters.client")
@EnableScheduling
@EnableAsync
@SpringBootApplication
public class QwDataCentersApplication {

    public static void main(String[] args) {
        SpringApplication.run(QwDataCentersApplication.class, args);
    }

}
